package com.shopAndMall.AppBuilder;

import android.content.Context;
import android.content.SharedPreferences;

public class ServiceSettingPref {
	Context context;
	SharedPreferences pref;
	
	//final String auth = pref.getString("auth", "n");
	/*
	static final String best_items_xml = "best_items.xml";
	static final String new_items_xml = "new_items.xml";
	static final String recommend_items_xml = "recommend_items.xml";
	
	static final String best_items_url = "http://worshipxcrai.cafe24.com/appbuilder/send_xml/best_items.php";
	static final String new_items_url = "http://worshipxcrai.cafe24.com/appbuilder/send_xml/new_items.php";
	static final String recommend_items_url = "http://worshipxcrai.cafe24.com/appbuilder/send_xml/recommend_items.php";
	*/
	
	public ServiceSettingPref(Context context){
		this.context = context;
		this.pref = this.context.getSharedPreferences("SetXmlPref",0);
	}
	
	public String auth(){
		return pref.getString("auth","");
	}
	
	public String time(){
		return pref.getString("time","");
	}
	
	public String best_items_xml(){
		return pref.getString("best_items_xml","");
	}
	public String best_items_url(){
		return pref.getString("best_items_url","");
	}
	

	public String new_items_xml(){
		return pref.getString("new_items_xml","");
	}
	public String new_items_url(){
		return pref.getString("new_items_url","");
	}
	
	public String recommend_items_xml(){
		return pref.getString("recommend_items_xml","");
	}
	public String recommend_items_url(){
		return pref.getString("recommend_items_url","");
	}
	
	public String category0_xml(){
		return pref.getString("category0_xml","");
	}
	public String category0_url(){
		return pref.getString("category0_url","");
	}
	
	public String category1_xml(){
		return pref.getString("category1_xml","");
	}
	public String category1_url(){
		return pref.getString("category1_url","");
	}
	
	public String category2_xml(){
		return pref.getString("category2_xml","");
	}
	public String category2_url(){
		return pref.getString("category2_url","");
	}
	
	public String category3_xml(){
		return pref.getString("category3_xml","");
	}
	public String category3_url(){
		return pref.getString("category3_url","");
	}

}
